package com.nlelpct.manage.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 企业和菜单关联表
 * </p>
 *
 * @author 小马
 * @since 2023-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_company_menu")
public class SysCompanyMenu extends Model<SysCompanyMenu> {

    private static final long serialVersionUID = 1L;

    /**
     * 企业ID
     */
    @TableId(value = "company_id", type = IdType.ASSIGN_UUID)
    private String companyId;

    /**
     * 菜单ID
     */
    private String menuId;


    public static final String COMPANY_ID = "company_id";

    public static final String MENU_ID = "menu_id";


}
